﻿Public Class registrarEstrella

    Private Sub btnRegistrar_Click(sender As Object, e As EventArgs) Handles btnRegistrar.Click
        Dim nombre As String
        Dim masa As Double
        Dim tipo As String
        Dim temperatura As Double
        Dim duracion As Double
        Dim edad As Double
        Dim composicion As String
        Dim intensidad As Double
        Dim tamanno As Double

        nombre = txtNombre.Text
        masa = Convert.ToDouble(txtNombre.Text)
        tipo = txtTipo.Text
        temperatura = Convert.ToDouble(Me.txtTemperatura.Text)
        duracion = Convert.ToDouble(Me.txtDuracion.Text)
        edad = Convert.ToDouble(Me.txtEdad.Text)
        composicion = txtComposicion.Text
        intensidad = Convert.ToDouble(Me.txtIntensidad.Text)
        tamanno = Convert.ToDouble(Me.txtTamanno.Text)


    End Sub
End Class